* {
  padding: 0;
  margin: 0;
}
body {
  width: 100vw;
  min-height: 500px;
  background-color: #f6f6f8;
  display: flex;
  place-content: center;
  margin-bottom: 50px;
  overflow-x: hidden;
}
body form {
  margin-top: 1rem;
  width: 740px;
  min-width: 700px;
  min-height: 600px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 6px #f0f2ff 5;
}
body form .view-info {
  display: flex;
  padding: 20px;
}
body form .view-info .left-info {
  flex: 8;
}
body form .view-info .left-info h2 {
  font-weight: 500;
}
body form .view-info .left-info > p {
  cursor: pointer;
  text-align: right;
  transform: translateY(-18px);
  color: #00c2b3;
  padding-right: 24px;
}
body form .view-info .left-info > p:hover {
  color: #9adbcf;
}
body form .view-info .right-control {
  flex: 1;
  display: flex;
  place-content: center;
  place-items: center;
  flex-direction: column;
}
body form .view-info .right-control img {
  width: 70px;
  height: 70px;
}
body form .view-info .right-control img:hover {
  transition: 250ms;
  filter: opacity(0.5);
}
body form .view-info .right-control span {
  color: #6adbcf;
  cursor: pointer;
  margin-top: 12px;
  min-width: 30px;
}
body form .view-info .right-control span:hover {
  color: #9adbcf;
}
body form .edit-info {
  padding: 20px;
  background-color: #f8f9fb;
  display: none;
}
body form .edit-info .form-box {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  grid-template-columns: repeat(2, 1fr);
}
body form .edit-info .form-box .form-item {
  margin-bottom: 20px;
  position: relative;
}
body form .edit-info .form-box .form-item .item-content {
  width: 320px;
  height: 34px;
  position: relative;
  display: flex;
  justify-content: space-between;
}
body form .edit-info .form-box .form-item .item-content span {
  height: 100%;
  display: inline-block;
  width: 130px;
  position: relative;
  text-align: center;
  background-color: #ffffff;
  border: 1px solid #e3e7ed;
  color: #9fa3b0;
}
body form .edit-info .form-box .form-item .item-content span input {
  position: relative;
  z-index: 1000;
  width: 130px;
  height: 100%;
  opacity: 0;
}
body form .edit-info .form-box .form-item .item-content span p {
  transform: translateY(-150%);
  cursor: pointer;
}
body form .edit-info .form-box .form-item .item-content span:hover {
  transition: 250ms;
  border: 1px solid #18c3b1;
}
body form .edit-info .form-box .form-item .item-content .active {
  transition: 250ms;
  background-color: #effbfa;
  border: 1px solid #18c3b1;
  color: #18c3b1;
}
body form .edit-info .input-textarea {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}
body form .edit-info .form-btns {
  text-align: right;
  margin-right: 30px;
}
body form .edit-info .form-btns button {
  font-size: 14px;
  min-width: 90px;
  padding: 7px 15px;
  color: #414a60;
  outline: none;
}
body form .edit-info .form-btns button:first-child {
  margin-right: 20px;
  border: 1px solid #e3e7ed;
  background-color: #fff;
}
body form .edit-info .form-btns button:first-child:hover {
  transition: 25ms;
  background-color: #f7f7f7;
}
body form .edit-info .form-btns button:last-child {
  color: #fff;
  border: 1px solid #18c3b1;
  background-color: #18c3b1;
}
body form .edit-info .form-btns button:last-child:hover {
  transition: 250ms;
  border-color: #6adbcf;
  background-color: #6adbcf;
}
body form section {
  padding-bottom: 20px;
  border-bottom: 1px solid #f2f3f3;
}
body form section > p {
  text-align: right;
  padding-top: 20px;
  padding-right: 12px;
  font-size: 12px;
  cursor: pointer;
}
body form section > p:hover {
  transition: 250ms;
  color: #00c2b3;
}
body form section .fobideen {
  cursor: not-allowed;
  pointer-events: none;
  background-color: #f5f6f7;
}
body form section .fromactive {
  background-color: #f5f6f7;
}
body form section:first-child .base-info {
  padding: 20px 0;
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  grid-template-columns: repeat(3, 120px);
  row-gap: 20px;
}
body form section:first-child .base-info p {
  text-align: center;
}
body form section:first-child .base-info p:nth-child(-n+2) {
  border-right: 1px solid #e0e0e0;
}
body form section:first-child .base-info p:nth-child(3) {
  text-align: right;
}
body form section:first-child .base-info p:last-child {
  font-size: 13px;
}
body form section:nth-child(3) .base-info {
  display: flex;
}
body form section:nth-child(3) .base-info p {
  text-align: center;
  transition: 250ms;
  padding: 0 20px;
}
body form section:nth-child(3) .base-info p:nth-child(-n+3) {
  border-right: 1px solid #e0e0e0;
}
body form section:nth-child(3) .base-info p:last-child {
  text-align: right;
}
body form section:nth-child(6) .base-info .info-textarea {
  display: flex;
}
body form section:nth-child(6) .base-info .info-textarea p {
  text-align: center;
  transition: 250ms;
  padding: 0 20px;
  max-height: 20px;
}
body form section:nth-child(6) .base-info .info-textarea p:nth-child(-n+3) {
  border-right: 1px solid #e0e0e0;
}
body form section:nth-child(6) .base-info .info-textarea p:last-child {
  text-align: right;
}
body form section:not(:nth-child(1)) h3 {
  font-weight: 500;
}
body form section:not(:nth-child(1)) h3::before {
  content: '|';
  margin-right: 10px;
  font-size: 8px;
  background-color: #53cac3;
  color: #53cac3;
  border-radius: 5px;
}
body form section:not(:nth-child(1)) .base-info {
  font-size: 13px;
  margin: 20px 0;
  padding: 10px 20px;
  color: #61687c;
  cursor: pointer;
  display: flex;
}
body form section:not(:nth-child(1)) .base-info div {
  min-height: 40px;
}
body form section:not(:nth-child(1)) .base-info div:first-child {
  flex: 4;
}
body form section:not(:nth-child(1)) .base-info div:last-child {
  flex: 1;
  position: relative;
}
body form section:not(:nth-child(1)) .base-info div:last-child span {
  position: absolute;
  top: 10%;
  left: 80%;
  transform: translate(-50%, -50%);
}
body form section:not(:nth-child(1)) .base-info span {
  display: none;
}
body form section:not(:nth-child(1)) .base-info:hover {
  transition: 600ms;
  background: #f2f5f9;
  border-radius: 4px;
}
body form section:not(:nth-child(1)) .base-info:hover span {
  display: block;
}
body .input-select {
  display: grid;
  grid-template-columns: repeat(2, fr) !important;
  grid-template-rows: 1fr !important;
}
body .input-select select {
  font-size: 13px;
}
body .edu-input {
  display: grid;
  grid-template-columns: repeat(2, fr) !important;
  grid-template-rows: 1fr !important;
}
body header {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 13px;
}
body header span:first-child {
  font-size: 12px;
  color: #b8a3b7;
}
body header span:last-child {
  color: #414a60;
  font-size: 15px;
}
body footer {
  text-align: center;
  padding: 20px 0;
}
body footer button {
  outline: none;
  border: 1px solid #53cac3;
  background-color: #53cac3;
  color: #fff;
  padding: 4px 24px;
}
body footer button:hover {
  transition: 250ms;
  filter: opacity(0.5);
}
body footer .submitbtn {
  pointer-events: none;
  cursor: not-allowed;
}
.error {
  color: #f56c6c;
  font-size: 12px;
  font-weight: 300;
}
